package ch1;

public class Fuzhi {

	public static void main(String[] args) {
		int i = 100;
		int j = i;
		i = 200;
		System.out.println("j=" + j);
		// 8种基本类型以外的叫 引用类型
		School hongYangMuxiao = new School();// 实例化
		// 给属性赋值
		hongYangMuxiao.name = "合肥工业大学";
		hongYangMuxiao.addr = "屯溪路191号";
		hongYangMuxiao.students = 23000;
		hongYangMuxiao.teachers = 7000;
		hongYangMuxiao.show();
		hongYangMuxiao = new School();
		hongYangMuxiao.show();
	}

}
